package net.oschina.kjtang.qywx.api.service;

import net.oschina.kjtang.qywx.api.entity.AccessToken;
import net.oschina.kjtang.qywx.api.entity.Menu;
import net.oschina.kjtang.qywx.common.exception.RCodeException;

/**
 * Created by kjtang on 2017/12/1.
 * 菜单操作API
 */
public interface WxMenuService {

    public void addMenu(Menu menu, String accessToken, String agentid) throws RCodeException;

    public void deleteMenu(String accessToken, String agentid) throws RCodeException;

    public Menu getMenu(String accessToken,String agentid) throws RCodeException;
}
